package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("ex")
public class EXController {

    @RequestMapping("json")
    public String json(){
        System.out.println(1/0);

        return "success";
    }

    @RequestMapping("sayHello")
    public String sayHello(){
        System.out.println(1/0);

        return "index.jsp";
    }
}
